Inside Macintosh: Memory
Previous
|
Chapter Top
|
Chapter Contents
|
Next
Contents
About the Memory Manager
Temporary Memory
Multiple Heap Zones
The System Global Variables
Using the Memory Manager
Reading and Writing System Global Variables
Extending an Application's Memory
Allocating Temporary Memory
Determining the Features of Temporary Memory
Using the System Heap
Allocating Memory at Startup Time
Creating Heap Zones
Installing a Purge-Warning Procedure
Organization of Memory
Heap Zones
Block Headers
Memory Manager Reference
Data Types
Memory Manager Routines
Setting Up the Application Heap
MaxApplZone
MoreMasters
Allocating and Releasing Relocatable Blocks of Memory
NewHandle
NewHandleSys
NewHandleClear
NewHandleSysClear
NewEmptyHandle
NewEmptyHandleSys
DisposeHandle
Allocating and Releasing Nonrelocatable Blocks of Memory
NewPtr
NewPtrSys
NewPtrClear
NewPtrSysClear
DisposePtr
Changing the Sizes of Relocatable and Nonrelocatable Blocks
GetHandleSize
SetHandleSize
GetPtrSize
SetPtrSize
Setting the Properties of Relocatable Blocks
HGetState
HSetState
HLock
HUnlock
HPurge
HNoPurge
HSetRBit
HClrRBit
Managing Relocatable Blocks
EmptyHandle
ReallocateHandle
RecoverHandle
ReserveMem
ReserveMemSys
MoveHHi
HLockHi
Manipulating Blocks of Memory
BlockMove
PtrToHand
PtrToXHand
HandToHand
HandAndHand
PtrAndHand
Assessing Memory Conditions
FreeMem
FreeMemSys
MaxBlock
MaxBlockSys
PurgeSpace
StackSpace
MemError
Freeing Memory
CompactMem
CompactMemSys
PurgeMem
PurgeMemSys
MaxMem
MaxMemSys
Grow-Zone Operations
SetGrowZone
GZSaveHnd
Allocating Temporary Memory
TempNewHandle
TempFreeMem
TempMaxMem
Accessing Heap Zones
GetZone
SetZone
ApplicationZone
SystemZone
HandleZone
PtrZone
Manipulating Heap Zones
GetApplLimit
SetApplLimit
TopMem
InitZone
InitApplZone
SetApplBase
Application-Defined Routines
Grow-Zone Functions
MyGrowZone
Purge-Warning Procedures
MyPurgeProc
© 1997 Apple Computer, Inc.
Previous
|
Chapter Top
|
Chapter Contents
|
Next